import fly from '../utils/request.js'
//获取详情页
export const getArticles = (id)=> fly.get('/articles/'+ id)

// 获取评论
export const comments =(data)=>fly.get('comments?type='+ data.type + '&source='+ data.source +'&limit='+data.limit)